/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.musictalk.message.model;

/**
 *
 * @author AIDEN
 */
public class RoomChat extends Message{

    private User sender;
    private String msg;

    public RoomChat() {
        this.setMsgType(Message.MSG_CHAT_ROOM);
    }

    public RoomChat(User sender) {
        this.sender = sender;
        this.setMsgType(Message.MSG_CHAT_ROOM);
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public User getSender() {
        return sender;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

}
